﻿namespace Sigil.NonGeneric
{
	public partial class Emit
	{
		/// <summary>
		/// Converts a TypedReference on the stack into a RuntimeTypeHandle for the type contained with it.
		///
		/// __makeref(Int32) on the stack would become the RuntimeTypeHandle for typeof(Int32), for example.
		/// </summary>
		public Emit ReferenceAnyType()
		{
			InnerEmit.ReferenceAnyType();
			return this;
		}
	}
}